package com.yanfan.energy.domain.statist;

/**
 * @author caijinkang
 * @date 2023年01月09日 16:05
 */
public class OrderStatistics {
    /**
     * 已完成订单总数
     *
     * @author caijinkang
     * @date 2023/1/9 16:06
     * @param null
     * @return null
     */
    private Integer finished;
    /**
     * 待处理订单数量
     *
     * @author caijinkang
     * @date 2023/1/9 16:06
     * @param null
     * @return null
     */
    private Integer pending;
    /**
     * 处理中订单数量
     *
     * @author caijinkang
     * @date 2023/1/9 16:07
     * @param null
     * @return null
     */
    private Integer progress;
    /**
     * 订单完成率
     *
     * @author caijinkang
     * @date 2023/1/9 16:08
     * @param null
     * @return null
     */
    private Double percentage;
    /**
     * 平均用时
     *
     * @author caijinkang
     * @date 2023/1/9 16:09
     * @param null
     * @return null
     */
    private Double hour;
    /**
     * 上月同比
     *
     * @author caijinkang
     * @date 2023/1/9 16:10
     * @param null
     * @return null
     */
    private Double Year;
    /**
     * 上月环比
     *
     * @author caijinkang
     * @date 2023/1/9 16:10
     * @param null
     * @return null
     */
    private Double Chain;

    public OrderStatistics() {
    }

    public OrderStatistics(Integer finished, Integer pending, Integer progress, Double percentage, Double hour, Double year, Double chain) {
        this.finished = finished;
        this.pending = pending;
        this.progress = progress;
        this.percentage = percentage;
        this.hour = hour;
        Year = year;
        Chain = chain;
    }

    @Override
    public String toString() {
        return "OrderStatistics{" + "finished=" + finished + ", pending=" + pending + ", progress=" + progress + ", percentage=" + percentage + ", hour=" + hour + ", Year=" + Year + ", Chain=" + Chain + '}';
    }

    public Integer getFinished() {
        return finished;
    }

    public void setFinished(Integer finished) {
        this.finished = finished;
    }

    public Integer getPending() {
        return pending;
    }

    public void setPending(Integer pending) {
        this.pending = pending;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public Double getPercentage() {
        return percentage;
    }

    public void setPercentage(Double percentage) {
        this.percentage = percentage;
    }

    public Double getHour() {
        return hour;
    }

    public void setHour(Double hour) {
        this.hour = hour;
    }

    public Double getYear() {
        return Year;
    }

    public void setYear(Double year) {
        Year = year;
    }

    public Double getChain() {
        return Chain;
    }

    public void setChain(Double chain) {
        Chain = chain;
    }
}
